package cn.yunyichina.provider.base.vo;

import cn.yunyichina.provider.base.entity.PlatformExtension;
import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;

/**
 * Created by Joe.zhou on 2017/11/29.
 */
public class PlatformQrcodeRequest extends PlatformExtension implements AnnotationValidable {

    /**
     * 二维码类型 0：永久 1：临时
     */
    @ValidateNotNullAndNotEmpty
    private Integer codeType;

    public Integer getCodeType() {
        return codeType;
    }

    public void setCodeType(Integer codeType) {
        this.codeType = codeType;
    }


    /**
     * 生成临时二维码时间（秒）
     */
    private Integer seconds;

    public Integer getSeconds() {
        return seconds;
    }

    public void setSeconds(Integer seconds) {
        this.seconds = seconds;
    }
}
